package com.qf.service;

import com.qf.pojo.SysUsers;

import java.util.List;

/**
 * @author mkr
 * @version V1.0
 * @Project java2203-mkr
 * @Package com.qf.service
 * @Description:
 * @Date 2022/6/14 17:17
 */
public interface UserService {

    /**
     * 根据用户名查询用户
     * @param userName
     * @return
     */
    public SysUsers findUserByName(String userName);

    /**
     * 根据用户ID，查询用户角色集合
     * @param uid
     * @return
     */
    public List<String> findRolesByUid(int uid);

    /**
     * 根据用户ID，查询用户权限集合
     * @param uid
     * @return
     */
    public List<String> findPermByUid(int uid);


}
